package router

import (
	"github.com/gogf/gf/v2/net/ghttp"
	"server-asset/internal/controller/server"
)

func registerServerRoutes(group *ghttp.RouterGroup) {

	serverCtrl := server.NewServer()
	serverGroup := group.Group("/servers")
	{
		serverGroup.POST("/", serverCtrl.List)
		//serverGroup.GET("/project/:projectId", serverCtrl.GetByProject)
		//serverGroup.GET("/:id", serverCtrl.GetById)
		//serverGroup.PUT("/:id", serverCtrl.Update)
		//serverGroup.DELETE("/:id", serverCtrl.Delete)
	}
}
